.class public Lcom/fiberhome/xloc/b/a/f;
.super Lcom/fiberhome/xloc/b/a/g;


# instance fields
.field private c:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0xcb

    invoke-direct {p0, v0}, Lcom/fiberhome/xloc/b/a/g;-><init>(I)V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/fiberhome/xloc/b/a/f;->c:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Z
    .locals 3

    const/4 v2, 0x0

    new-instance v0, Lcom/fiberhome/gaea/client/d/a/a;

    invoke-direct {v0}, Lcom/fiberhome/gaea/client/d/a/a;-><init>()V

    invoke-virtual {v0, p1}, Lcom/fiberhome/gaea/client/d/a/a;->e(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    iput-boolean v2, p0, Lcom/fiberhome/xloc/b/a/f;->a:Z

    iget-boolean v0, p0, Lcom/fiberhome/xloc/b/a/f;->a:Z

    :goto_0
    return v0

    :cond_0
    :try_start_0
    const-string/jumbo v1, "resultcode"

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/d/a/a;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/fiberhome/xloc/b/a/f;->c:Ljava/lang/String;

    const-string/jumbo v1, "message"

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/d/a/a;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/fiberhome/xloc/b/a/f;->b:Ljava/lang/String;

    const-string/jumbo v0, "0"

    iget-object v1, p0, Lcom/fiberhome/xloc/b/a/f;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/fiberhome/gaea/client/c/b;->f()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "xloc/xloclog.zip"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {v1}, Ljava/io/File;->delete()Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_1
    :goto_1
    iget-boolean v0, p0, Lcom/fiberhome/xloc/b/a/f;->a:Z

    goto :goto_0

    :catch_0
    move-exception v0

    iput-boolean v2, p0, Lcom/fiberhome/xloc/b/a/f;->a:Z

    goto :goto_1
.end method
